/**
 * Created by dell on 2017/7/20.
 */
public class Outer {
    private static double outProp=4;
    static class Inner{
        private double inProp=0;
         private  double inProp1=5;
         {
            System.out.println("fuck you");
        }
        public void inTest(){
        System.out.println("外部类："+outProp);
        }
    }
    public void Test(){
        System.out.println("内部类："+new Inner().inProp1);
        //System.out.println(""+Inner.inProp1);
    }

    public static void main(String[] args) {
       //Outer.Inner outer= new Outer().new Inner();
       Outer.Inner outer1;
       outer1=new Outer.Inner();
       //outer1=outer2.new Inner();
       //Inner inner=new  Inner();
       outer1.inTest();
        //outer.Test();

    }
}
